[INFO] fetching crate cpp_to_rust_generator 0.2.0...
[INFO] checking cpp_to_rust_generator-0.2.0 against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] extracting crate cpp_to_rust_generator 0.2.0 into /workspace/builds/worker-14/source
[INFO] validating manifest of crates.io crate cpp_to_rust_generator 0.2.0 on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cpp_to_rust_generator 0.2.0
[INFO] removed path dependency cpp_to_rust_common from crates.io crate cpp_to_rust_generator 0.2.0
[INFO] finished tweaking crates.io crate cpp_to_rust_generator 0.2.0
[INFO] tweaked toml for crates.io crate cpp_to_rust_generator 0.2.0 written to /workspace/builds/worker-14/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3700f0b71b5c07fd95f93c82efc6993a41e74a76657cee2f11863158ceee3a3e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3700f0b71b5c07fd95f93c82efc6993a41e74a76657cee2f11863158ceee3a3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3700f0b71b5c07fd95f93c82efc6993a41e74a76657cee2f11863158ceee3a3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3700f0b71b5c07fd95f93c82efc6993a41e74a76657cee2f11863158ceee3a3e", kill_on_drop: false }`
[INFO] [stdout] 3700f0b71b5c07fd95f93c82efc6993a41e74a76657cee2f11863158ceee3a3e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 61362a7f8100c4fa45d3d374104ce0f5ee469c2239a68cbf99e4baa5cb6ae676
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "61362a7f8100c4fa45d3d374104ce0f5ee469c2239a68cbf99e4baa5cb6ae676", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling siphasher v0.2.3
[INFO] [stderr]     Checking encoding_index_tests v0.1.4
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]     Checking rustc-serialize v0.3.24
[INFO] [stderr]    Compiling cc v1.0.59
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling const_fn v0.4.2
[INFO] [stderr]     Checking term v0.4.6
[INFO] [stderr]     Checking lazy_static v0.2.11
[INFO] [stderr]    Compiling proc-macro-hack v0.5.18
[INFO] [stderr]     Checking mac v0.1.1
[INFO] [stderr]     Checking new_debug_unreachable v1.0.4
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]    Compiling backtrace v0.2.3
[INFO] [stderr]     Checking rustc-demangle v0.1.16
[INFO] [stderr]     Checking unicode-xid v0.0.3
[INFO] [stderr]     Checking serde v0.9.15
[INFO] [stderr]     Checking glob v0.2.11
[INFO] [stderr]     Checking itoa v0.3.4
[INFO] [stderr]     Checking bitflags v0.7.0
[INFO] [stderr]     Checking dtoa v0.4.6
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking bitflags v0.8.2
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking multimap v0.3.0
[INFO] [stderr]     Checking itertools v0.4.19
[INFO] [stderr]     Checking unicode-segmentation v0.1.3
[INFO] [stderr]    Compiling dbghelp-sys v0.2.0
[INFO] [stderr]     Checking unreachable v0.1.1
[INFO] [stderr]     Checking encoding-index-korean v1.20141219.5
[INFO] [stderr]     Checking encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]     Checking encoding-index-japanese v1.20141219.5
[INFO] [stderr]     Checking encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]     Checking encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]    Compiling clang-sys v0.15.2
[INFO] [stderr]     Checking futf v0.1.4
[INFO] [stderr]     Checking utf-8 v0.6.0
[INFO] [stderr]     Checking phf_shared v0.7.24
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]     Checking bit-set v0.4.0
[INFO] [stderr]     Checking getopts v0.2.21
[INFO] [stderr]     Checking term-painter v0.2.4
[INFO] [stderr]     Checking log v0.4.11
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking debug_unreachable v0.1.1
[INFO] [stderr]    Compiling standback v0.2.10
[INFO] [stderr]    Compiling time v0.2.19
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]     Checking phf v0.7.24
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]     Checking encoding v0.2.33
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]    Compiling walkdir v0.1.8
[INFO] [stderr]    Compiling syn v1.0.40
[INFO] [stderr]     Checking strings v0.0.1
[INFO] [stderr]     Checking tendril v0.2.4
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rustfmt v0.6.3
[INFO] [stderr]    Compiling backtrace-sys v0.1.37
[INFO] [stderr]     Checking thread-id v2.0.0
[INFO] [stderr]     Checking memchr v0.1.11
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking thread_local v0.2.7
[INFO] [stderr]     Checking aho-corasick v0.5.3
[INFO] [stderr]     Checking syntex_pos v0.44.0
[INFO] [stderr]     Checking toml v0.2.1
[INFO] [stderr]     Checking toml v0.1.30
[INFO] [stderr]    Compiling serde_codegen_internals v0.14.2
[INFO] [stderr]     Checking syntex_errors v0.44.0
[INFO] [stderr]     Checking regex v0.1.80
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]    Compiling serde_derive v0.9.15
[INFO] [stderr]     Checking clang v0.16.0
[INFO] [stderr]     Checking syntex_syntax v0.44.1
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]     Checking tempdir v0.3.7
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling string_cache v0.2.29
[INFO] [stderr]    Compiling html5ever v0.5.4
[INFO] [stderr]     Checking error-chain v0.5.0
[INFO] [stderr]     Checking bincode v0.7.0
[INFO] [stderr]     Checking serde_json v0.9.10
[INFO] [stderr]     Checking env_logger v0.3.5
[INFO] [stderr]     Checking cpp_to_rust_common v0.2.3
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]     Checking time-macros v0.1.0
[INFO] [stderr]     Checking select v0.3.0
[INFO] [stderr]     Checking cpp_to_rust_generator v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/config.rs:13:36
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub type CppFfiGeneratorFilterFn = Fn(&CppMethod) -> Result<bool>;
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&CppMethod) -> Result<bool>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/config.rs:15:34
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct CppFfiGeneratorFilter(Box<Fn(&CppMethod) -> Result<bool>>);
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&CppMethod) -> Result<bool>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/config.rs:24:28
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub type CppDataFilterFn = Fn(&mut CppData) -> Result<()>;
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut CppData) -> Result<()>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/config.rs:13:36
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub type CppFfiGeneratorFilterFn = Fn(&CppMethod) -> Result<bool>;
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&CppMethod) -> Result<bool>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/config.rs:15:34
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct CppFfiGeneratorFilter(Box<Fn(&CppMethod) -> Result<bool>>);
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&CppMethod) -> Result<bool>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/config.rs:24:28
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub type CppDataFilterFn = Fn(&mut CppData) -> Result<()>;
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut CppData) -> Result<()>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `std` is imported redundantly
[INFO] [stdout]    --> src/cpp_parser.rs:169:7
[INFO] [stdout]     |
[INFO] [stdout] 169 |   use std;
[INFO] [stdout]     |       ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/rust_generator.rs:1355:19
[INFO] [stdout]      |
[INFO] [stdout] 1355 |       if let Some(mut b) = buckets
[INFO] [stdout]      |                   ----^
[INFO] [stdout]      |                   |
[INFO] [stdout]      |                   help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/rust_generator.rs:1355:19
[INFO] [stdout]      |
[INFO] [stdout] 1355 |       if let Some(mut b) = buckets
[INFO] [stdout]      |                   ----^
[INFO] [stdout]      |                   |
[INFO] [stdout]      |                   help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 27s
[INFO] running `Command { std: "docker" "inspect" "61362a7f8100c4fa45d3d374104ce0f5ee469c2239a68cbf99e4baa5cb6ae676", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "61362a7f8100c4fa45d3d374104ce0f5ee469c2239a68cbf99e4baa5cb6ae676", kill_on_drop: false }`
[INFO] [stdout] 61362a7f8100c4fa45d3d374104ce0f5ee469c2239a68cbf99e4baa5cb6ae676
